<ul>
	<%= render :partial => 'repositories/repository', :locals => { :repository => @repostiroy } %>
</ul>

<%= error_messages_for :note %>
<div class="two_cols clearfix">
	<div class="left_col">

		<% form_for [@repository, @note] do |f| %>
			<%= f.hidden_field :user_id, :value => @signed_user.id %>
			<p><label for="new_note_title">Title</label>
				<%= f.text_field :title, :class => "text", :size => "120" %>
			</p>

			<p><label for="new_note_body">Body</label>
				<%= f.text_area :body, :class => "text" %>
			</p>

			<p class="submit">
				<%= f.submit 'Update' %>
			</p>

		<% end %>

	</div> <!-- left_col -->

	<div class="right_col">
		
		<h3 class="title">Syntax Helper</h3>
		<ul class="markdown_syntax_helper">

			<li class="group_title">Header</li>
			<li># Heading1</li>
			<li>### Heading3</li>
			
			<li class="group_title">Emphasis</li>
			<li>**bold**</li>
			<li>_italic_</li>

			<li class="group_title">Indenting</li>
			<li>&gt; indent</li>
			<li>&gt;&gt; more indent</li>

			<li class="group_title">List</li>
			<li>- unordered list</li>
			<li>1. ordered list</li>

			<li class="group_title">Link</li>
			<li>[Label](http://somewhere.com)</li>
			<li>&lt;http://somewhere.com&gt;</li>

			<li class="group_title">Image Link</li>
			<li>![Label](image_url)</li>

			<li class="group_title">Miscellaneous</li>
			<li>Line will be "code block" if it started with "four or more spaces"
			<li>Line will be "newline" if it ended with "two spaces"</li>
		</ul>

	</div>

</div> <!-- tow_cols -->
